<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

<head>
<title><?php if(is_home()) : ?><?php bloginfo('name'); ?><?php else : ?><?php bloginfo('name'); ?><?php wp_title(); ?><?php endif; ?></title>
<meta name="description" content="<?php bloginfo('description');?>" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

<?php if(is_home()) : ?>
<script type="text/javascript" src="<?php bloginfo('home'); ?>/wp-includes/js/prototype.js"></script>
<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/moo.fx.js"></script>

<script type="text/javascript">
Event.observe(window, 'load', initShelf, false);

function initShelf()
{
shelffx = new fx.Height("shelf", {duration: 300});
shelffx.hide();
}
</script>
<?php endif; ?>

<?php wp_head(); ?>

</head>

<body>

<div id="wrap">
  <div id="keep">

	<div id="outside">
	  <div id="inside">
	    <div id="holder">
	
		<div id="search">
			<form method="get" id="sform" action="<?php bloginfo('home'); ?>/">
 				<input type="text" id="q" value="<?php echo wp_specialchars($s, 1); ?>" name="s" />
			</form>
		</div>

		<div id="title">
			<div class="btitle"><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></div>
			<div class="stitle"><?php bloginfo('description'); ?></div>
		</div>

		<div id="menu">
		  <ul>
			<li><a href="<?php echo get_option('home'); ?>">Home</a></li>
			<?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>
		  </ul>
		</div>

		<div id="tree"></div>

		<div id="content">